Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.ajoberstar.git-publish from 4.2.2 to 5.1.0 #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 10, 2024

Bumps org.ajoberstar.git-publish from 4.2.2 to 5.1.0.

Release notes

Sourced from org.ajoberstar.git-publish's releases.

5.1.0

Resolves some regressions discovered by @​marcphilipp.

Most notably, with Grgit removed any authentication methods you previously used such as GRGIT_USER or -Dorg.ajoberstar.grgit.auth.username won't work in v5. This version adds new options to replace them.

Breaking Changes

None

Enhancements

  • #115 Adds username and password properties to GitPublication for cases where credentials are needed (via #116)

Fixes

  • #114 Fixes use of fetchDepth when the project is in a shallow clone (via #116)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.11.1
17 7.3.3, 7.6.4, 8.0.2, 8.11.1
21 8.4, 8.11.1

5.0.0

Major change to reimplement using the Git CLI. The prior versions used grgit, which is deprecated and not necessary for the functionality of this plugin.

Using the Git CLI reduces use of further dependencies and increases compatibility with different Git features that JGit (which grgit wrapped) struggled with.

Since 5.0.0-beta.2: Unchanged

Since 5.0.0-beta.1: suppressed some of the noisy output and attempted a fix for #112 by using objects/info/alternates to reference the project's checkout repo rather than a full remote.

Breaking Changes

  • #111 Removed use of grgit, in favor of directly using the git CLI.
  • GitPublishPush will report UP_TO_DATE instead of SKIPPED if there aren't any commits to push up
  • Output of the tasks is different (since some of it is native git CLI output)

Enhancements

None

... (truncated)

Commits
  • 6275311 Merge pull request #116 from ajoberstar/fixes
  • 368ced7 minor: Support setting credentials for HTTP
  • e77201b patch: Don't use reference repo if it's shallow
  • b1ea705 chore: Remove outdated auth docs
  • 8b81ec4 Merge pull request #113 from ajoberstar/fixes
  • af99ce3 patch: Disable fetching tags
  • f6c6235 chore: Build against Gradle 8.11
  • 0db4f9d chore: Test against Gradle 8.11
  • 2875bb5 patch: Use reference only as an alternate obj store
  • c7abc58 chore: Remove unused import
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.ajoberstar.git-publish](https://github.com/ajoberstar/gradle-git-publish) from 4.2.2 to 5.1.0.
- [Release notes](https://github.com/ajoberstar/gradle-git-publish/releases)
- [Commits](ajoberstar/gradle-git-publish@4.2.2...5.1.0)

---
updated-dependencies:
- dependency-name: org.ajoberstar.git-publish
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants